/*chat*/
.aui-chat {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.aui-chat .aui-chat-item {
    position: relative;
    width: 100%;
    margin-bottom: 0.75rem;
    overflow: hidden;
    display: block;
}
.aui-chat .aui-chat-header {
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 0.6rem;
    color: #757575;
}
.aui-chat .aui-chat-left {
    float: left;
}
.aui-chat .aui-chat-right {
    float: right;
}
.aui-chat .aui-chat-media {
    display: inline-block;
    overflow: hidden;
    width: 2.5rem;
    height: 2.5rem;
}
.aui-chat .aui-chat-media img {
    width: 100%;
    border-radius: 3px;
}
.aui-chat .aui-chat-inner {
    position: relative;
    overflow: hidden;
    display: inherit;
}
.aui-chat .aui-chat-arrow {
    content: '';
    position: absolute;
    width: 0.6rem;
    height: 0.6rem;
    top: 0.2rem;
    -webkit-transform-origin: 50% 50% 0;
    transform-origin: 50% 50% 0;
    background-color: transparent;
}
.aui-chat .aui-chat-left .aui-chat-arrow {
    background-image: -webkit-linear-gradient(45deg, #ffffff, #ffffff 50%, transparent 50%);
    background-image: linear-gradient(45deg, #ffffff, #ffffff 50%, transparent 50%);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    left: -0.23rem;
}
.aui-chat .aui-chat-right .aui-chat-arrow {
    background-image: -webkit-linear-gradient(45deg, #ffffff, #ffffff 50%, transparent 50%);
    background-image: linear-gradient(45deg, #ffffff, #ffffff 50%, transparent 50%);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    right: -0.23rem;
}
.aui-chat .aui-chat-content {
    color: #212121;
    font-size: 1rem;
    border-radius: 0.2rem;
    min-height: 1rem;
    position: relative;
    padding: 0.5rem;
    max-width: calc(100% - 3rem);
    word-break: break-all;
    word-wrap: break-word;
}
.aui-chat .aui-chat-content p {
    margin-bottom: 0.5rem;
}
.aui-chat .aui-chat-content img {
    max-width: 100%;
    display: block;
}
.aui-chat .aui-chat-status {
    position: relative;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
}
.aui-chat .aui-chat-title {
    width: 100%;
    position: relative;
    font-size: 0.85rem;
    color: #757575;
    margin-bottom: 0.5rem;
}
.aui-chat .aui-chat-title b {
    color: #000;
}
.aui-chat .aui-chat-left .aui-chat-title b {
    margin-right: 0.5rem;
}
.aui-chat .aui-chat-right .aui-chat-title b {
    margin-left: 0.5rem;
}
.aui-chat .aui-chat-left .aui-chat-title {
    left: 1rem;
}
.aui-chat .aui-chat-left .aui-chat-status {
    left: 0.5rem;
    float: left;
}
.aui-chat .aui-chat-left .aui-chat-media {
    float: left;
}
.aui-chat .aui-chat-left .aui-chat-inner {

    /* max-width: 70%;*/
}
.aui-chat .aui-chat-left .aui-chat-content {
    background-color: #ffffff;
    float: left;
    left: 1rem;
}
.aui-chat .aui-chat-right .aui-chat-media {
    float: right;
}
.aui-chat .aui-chat-right .aui-chat-inner {
    float: right;
    max-width: 90%;
}
.aui-chat .aui-chat-right .aui-chat-title {
    float: right;
    right: 1rem;
    text-align: right;
}
.aui-chat .aui-chat-right .aui-chat-content {
    background-color: #ffffff;
    right: 1rem;
    float: right;
}
.aui-chat .aui-chat-right .aui-chat-status {
    float: right;
    right: 0.5rem;
}
.aui-chat .aui-chat-voice-pause, .aui-chat .aui-chat-voice-play {
    height: 18px;
    background-repeat: no-repeat;    /*background-image: url(../images/voice.png);*/
    background-size: 18px auto;
    opacity: 0.5;
}
.aui-chat .aui-chat-voice-pause {
    background-position: 0px -39px;
}
.aui-chat .aui-chat-voice-play {
    background-position: 0px -39px;
    -webkit-animation: voiceplay 1s infinite step-start;
    -moz-animation: voiceplay 1s infinite step-start;
    -o-animation: voiceplay 1s infinite step-start;
    animation: voiceplay 1s infinite step-start;
}
@-webkit-keyframes voiceplay {
    0%, 100% {
        background-position: 0px -39px;
    }
    33.333333% {
        background-position: 0px -0px;
    }
    66.666666% {
        background-position: 0px -19.7px;
    }
}